home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 94-05.Z / 94-05 / 000052_news@bigblue.oit.unc.edu_Fri May 2 04:49:14 1994.msg < prev    next >
Internet Message Format  |  1994-05-31  |  3KB

  1. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  2.           id AA20350; Wed, 4 May 1994 07:02:39 -0400
  3. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  4.           id AA30049; Wed, 4 May 1994 06:44:08 -0400
  5. Received: from GATEWAY by bigblue with netnews
  6.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  7. To: winsock@sunsite.unc.edu
  8. Date: 2 May 1994 04:49:14 GMT
  9. From: jnlin@netrd.net.tw (jnlin)
  10. Message-Id: <2q20oa$pu9@news.csie.nctu.edu.tw>
  11. Organization: III
  12. Sender: ses
  13. References: <2q0sj2$g8p@taco.cc.ncsu.edu>
  14. Subject: Re: WSASetBlockingHook()
  15.  
  16. In article <2q0sj2$g8p@taco.cc.ncsu.edu>, nsysdbj@straylight.acs.ncsu.edu (David Joyner) says:
  17. >
  18. >Does anyone know of any caveats associated with WSASetBlockingHook?
  19. >I'm trying to install my own blocking hook which doesn't check the
  20. >message queue to avoid returning controll to the application during
  21. >blocking socket calls.  It looks like my blocking hook is never being
  22. >called.
  23. >
  24. >I'm using Novell LWP 4.1.  If anyone has suggestions, I'd like to hear
  25. >them.
  26. >
  27.  
  28. According to Winsock spec. page 102, you should release control in
  29. your blocking hook function and return FALSE when there's no message
  30. need to be processed. (For release control and not process this message,
  31. you may use PeekMessage() with PM_NOREMOVE parameter. Which will release
  32. control to other task, but it will not remove the message belongs to you.)
  33.  
  34. J.N. Lin
  35.  
  36. p.s. If you do not release control and not return FALSE, then it is 
  37.      very possible that your windows will hang and every task can not
  38.      work any more.
  39.  
  40. >--
  41. >David Joyner (nsysdbj@acs.ncsu.edu)    | Phone: (919) 515-2794
  42. >Unix Systems Programmer                | FAX:   (919) 515-3787
  43. >NCSU Administrative Computing Services | URL: http://www.acs.ncsu.edu/~nsysdbj
  44. From news@bigblue.oit.unc.edu Wed May  4 07:32:30 1994
  45. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  46.           id AA23562; Wed, 4 May 1994 07:32:30 -0400
  47. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  48.           id AA19143; Wed, 4 May 1994 07:18:40 -0400
  49. Received: from GATEWAY by bigblue with netnews
  50.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  51. To: winsock@sunsite.unc.edu
  52. Date: Mon, 2 May 1994 00:38:10
  53. From: marcaine@mcs.com (BoNe PHiLe)
  54. Message-Id: <marcaine.9.0000A288@mcs.com>
  55. Organization: MCSNet
  56. Sender: ses
  57. Subject: winFSP 1.2
  58.  
  59. I can't get winFSP 1.2 to work with chameloen has anybody else got it to work 
  60. I am interested in knowing how you did it????
  61.  
  62. BoNe PHiLe